//
//  ShowImageViewController.h
//  WoWeibo
//
//  Created by apple on 11-11-25.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "ImageDownloadOperationDelegate.h"

@class SCGIFImageView;

typedef enum {
    
    IMG_NONE,
    IMG_GIF,
    IMG_OTHER
    
} IMG_TYPE;

@interface ShowImageViewController : UIViewController<UIScrollViewDelegate, ImageDownloadOperationDelegate> {
	NSURL *url;
	UIImage *picture;
	UIImageView     *pictureView;
    SCGIFImageView  *_gifView;
    IMG_TYPE        imgType;
	
	UIActivityIndicatorView *spinner;
    UILabel *loadingLabel;
    UIScrollView            *_scrollView;       // This scroll view be used to zoom in and out the image.
    
    
    BOOL                     _isBarHiddened;
}

@property (nonatomic,retain) NSURL *url;
@property (nonatomic,retain) UIImage *picture;

@end
